package com.zwxbc.funplay.entity;


import java.util.Date;

public class Game {
	private Long gameId;
	private String gameName;
	private Double price;
	private Long developerId;
	private String developerName;
	private Long categoryId;
	private String categoryName;
	private Long salesCount;
	private Double averageRating;
	private String gameImage;
	private String gameIntroduction;
	private Date releaseDate;

	public Game() {
	}

	public Game(Long gameId, String gameName, Double price, Long developerId, String developerName, Long categoryId, String categoryName, Long salesCount, Double averageRating, String gameImage, String gameIntroduction, Date releaseDate) {
		this.gameId = gameId;
		this.gameName = gameName;
		this.price = price;
		this.developerId = developerId;
		this.developerName = developerName;
		this.categoryId = categoryId;
		this.categoryName = categoryName;
		this.salesCount = salesCount;
		this.averageRating = averageRating;
		this.gameImage = gameImage;
		this.gameIntroduction = gameIntroduction;
		this.releaseDate = releaseDate;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Long getDeveloperId() {
		return developerId;
	}

	public void setDeveloperId(Long developerId) {
		this.developerId = developerId;
	}

	public String getDeveloperName() {
		return developerName;
	}

	public void setDeveloperName(String developerName) {
		this.developerName = developerName;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Long getSalesCount() {
		return salesCount;
	}

	public void setSalesCount(Long salesCount) {
		this.salesCount = salesCount;
	}

	public Double getAverageRating() {
		return averageRating;
	}

	public void setAverageRating(Double averageRating) {
		this.averageRating = averageRating;
	}

	public String getGameImage() {
		return gameImage;
	}

	public void setGameImage(String gameImage) {
		this.gameImage = gameImage;
	}

	public String getGameIntroduction() {
		return gameIntroduction;
	}

	public void setGameIntroduction(String gameIntroduction) {
		this.gameIntroduction = gameIntroduction;
	}

	public Date getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(Date releaseDate) {
		this.releaseDate = releaseDate;
	}

	@Override
	public String toString() {
		return "Game{" +
				"gameId=" + gameId +
				", gameName='" + gameName + '\'' +
				", price=" + price +
				", developerId=" + developerId +
				", developerName='" + developerName + '\'' +
				", categoryId=" + categoryId +
				", categoryName='" + categoryName + '\'' +
				", salesCount=" + salesCount +
				", averageRating=" + averageRating +
				", gameImage='" + gameImage + '\'' +
				", gameIntroduction='" + gameIntroduction + '\'' +
				", releaseDate=" + releaseDate +
				'}';
	}
}
